package edu.nf.ch06.abs;

import edu.nf.ch06.product.Pad;
import edu.nf.ch06.product.Phone;

/**
 * @author CSY
 * @date 2025 - 04 - 15
 * 抽象工厂 - 违反开闭原则
 */
public class Main {
    public static void main(String[] args) {
        AbstractFactory factory = new AppleFactory();
        Pad pad = factory.createPad();
        Phone phone = factory.createPhone();
    }
}
